<!--
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2020-02-07 17:08:21
 * @LastEditors: sueRimn
 * @LastEditTime: 2020-05-21 16:33:40
 -->
{include file="public/header" /}

<style>
    body{
        background: #FFF;
    }
        .content img {
        transition-duration:0.5s;
    }
    .content img:hover {
        transform: scale(1.5) !important;
    }
    .content .imageframe {
        width: 200px;
        height: 113px;
        overflow: hidden;
    }

</style>

<div class="page">
    <table class="ds-default-table order">
        <tbody>
        <tr>
            <th>设备信息</th>
        </tr>
        <tr>
            <td colspan="2">
                <ul style="overflow: auto;">
                    <li><strong>设备名称:</strong>{$goodItem.goods_name}</li>
                    <li><strong>设备品牌:</strong>{$goodItem.b_name}</li>
                    <li><strong>设备规格:</strong>{$goodItem.type_model}</li>
                    <li><strong>诊断原因:</strong>{$goodItem.diagnostic_cause}</li>
                    {if $goodItem.disma_status > 0 }
                    <li><strong>拆移机状态:</strong>{$disma_status[$goodItem.disma_status]}</li>
                   {/if}
                    {foreach name="$goodItem.science_pics" item="pic" key="k"}
                        <li class="size-56x56 content" style="height: 150px;"><strong>现场图{$k+1}:</strong>
                          <span class="thumb size-56x56 imageframe">
                                 <img src="{$pic}"  width="200px" height="100px" />
                          </span>
                    </li>
                    {/foreach}
                </ul>
            </td>
        </tr>
       {if $goodItem.order_type != 3}
        {notempty name="goodItem.option_info"}
        <tr>
            <th>部位信息</th>
        </tr>
        <tr>
            <td colspan="2">
                <ul>
                    {foreach name="$goodItem.option_info" item="option"}
                        <li><strong>{$option.content}:</strong>{$select[$option.selected]}</li>
                    {/foreach}
                </ul>
            </td>
        </tr>
        {/notempty}
        {/if}
        <tr>
            <th>服务信息</th>
        </tr>
        <tr>
            <td colspan="2">
                <ul>
                    <?php if(!empty($goodItem['mechanic_name'])) {?>
                    <li><strong>服务人姓名:</strong>{$goodItem.mechanic_name}</li>
                    <?php }?>
                    <li><strong>预计服务时间:</strong>{$goodItem.need_hours}</li>
                    <li><strong>每工时收费用:</strong>{$goodItem.payper_hour}</li>
                    <li><strong>服务工时费:</strong>{$goodItem.fuwu_hour}</li>
                    <li><strong>建议下次保养时间:</strong>{$goodItem.next_care_time}</li>
                </ul>
            </td>
        </tr>

        {notempty name="order_log"}
        <tr>
            <th>{$Think.lang.order_handle_history}</th>
        </tr>
        {foreach name="order_log" item="val"}
        <tr>
            <td>
                {$val.log_role} {$val.log_user}&emsp;{$Think.lang.order_show_at}&emsp;{$val.log_time|date="Y-m-d H:i:s",###}&emsp;{$val.log_msg}
            </td>
        </tr>
        {/foreach}
        {/notempty}
        <tfoot>
        </tfoot>
    </table>
    </tbody>
    </table>
</div>